const splitDate = (row, column, cellValue, index) => {
  return cellValue && cellValue.includes('T') ? cellValue.split('T')[0] : cellValue;
}

const replaceDate = (row, column, cellValue, index) => {
  return cellValue && cellValue.includes('T') ? cellValue.replace('T', ' ') : cellValue;
}

export { splitDate, replaceDate }